package com.mmc.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController{
	/**
	 * 跳转到登录页面
	 * @return
	 */
	@RequestMapping("/index.action")
	public String index(){
		return "/login.jsp";
	}
	
	/**
	 * 跳转到主页面
	 * @return
	 */
	@RequestMapping("/main.action")
	public String main(){
		return "/index.jsp";
	}
	
	/**
	 * 跳转到欢迎页面
	 */
	@RequestMapping("/welcome.action")
	public String welcome(){
		return "/welcome.jsp";
	}
}
